package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.domain.Employee;

import javax.servlet.http.HttpServletRequest;

public interface EmployeeService extends IService<Employee> {

    public R<Employee> login(HttpServletRequest req, Employee employee);

    R<String> SAVE(Employee employee, HttpServletRequest req);

    Page pageService(Integer page, Integer pageSize,String name);
}
